package com.decard.baselibrarydemo.ui.fragment;


import android.os.Bundle;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import androidx.fragment.app.Fragment;
import androidx.navigation.Navigation;

import com.decard.baselibrarydemo.R;

public class FingerprintFragment extends Fragment implements View.OnClickListener {



    private static final String TAG = "ScanCodeFragment";
    private ImageView mReturn;


    private Button mThreeButton,mNotButton,mButtonUsb;

    private TextView mThreeText,mNotText,mtextonUsb;




    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        View root=inflater.inflate(R.layout.fragment_fingerprint, container, false);
        mReturn=root.findViewById(R.id.btn_return_key_fagment);
        mThreeButton=root.findViewById(R.id.Button_Socia_three);
        mThreeButton.setOnClickListener(this);
        mNotButton=root.findViewById(R.id.Button_Socia);
        mNotButton.setOnClickListener(this);
        mThreeText=root.findViewById(R.id.text_Socia_three);
        mNotText=root.findViewById(R.id.text_Socia);

        mButtonUsb=root.findViewById(R.id.Button_usb);
        mButtonUsb.setOnClickListener(this);
        mtextonUsb=root.findViewById(R.id.text_usb);




        mReturn.setOnClickListener(view -> {
            Navigation.findNavController(view).popBackStack();
        });
            initviwe(root);

        return root;
    }


    private void initviwe(View root) {


    }


    @Override
    public void onClick(View view) {
        switch (view.getId()){
            case R.id.Button_Socia_three:


                break;


            case R.id.Button_Socia:


                break;

            case R.id.Button_usb:
                break;
        }
    }
}